<div style="font-family:arial; font-size:12px;">
    <br/>
    <p>
        {% if order.orderCustomer.salutation %}{{ order.orderCustomer.salutation.translated.letterName ~ ' ' }}{% endif %}{{ order.orderCustomer.firstName }} {{ order.orderCustomer.lastName }},<br/>
        <br/>
        the status of your delivery at {{ salesChannel.translated.name }} (Number: {{ order.orderNumber }}) on {{ order.orderDateTime|format_datetime('medium', 'short', locale='en-GB') }} has changed.<br/>
        <strong>The new status is as follows: {{ order.deliveries.first.stateMachineState.translated.name }}.</strong><br/>
        <br/>
        You can check the current status of your order on our website under "My account" - "My orders" anytime: {{ rawUrl('frontend.account.order.single.page', { 'deepLinkCode': order.deepLinkCode }, salesChannel.domains|first.url) }}
        </br>
        However, in case you have purchased without a registration or a customer account, you do not have this option.
        <br><br>
        {% if a11yDocuments %}
            For better accessibility we also provide an HTML version of the documents here:<br><br>

            {% for a11y in a11yDocuments %}
                {% set documentLink = rawUrl(
                    'frontend.account.order.single.document.a11y',
                    {
                        documentId: a11y.documentId,
                        deepLinkCode: a11y.deepLinkCode,
                        fileType: a11y.fileExtension,
                    },
                    salesChannel.domains|first.url
                )%}

                - <a href="{{ documentLink }}" target="_blank">{{ documentLink }}</a> <br>
            {% endfor %}<br>
            For data protection reasons the HTML version requires a login. <br><br>
            In case of a guest order, you can use your email address and postal code of the billing address.<br>
        {% endif %}
    </p>
</div>
